package com.huike.clues.service.impl;

import com.huike.clues.domain.vo.HomePageBaseDataVo;
import com.huike.clues.mapper.HomePageMapper;
import com.huike.clues.service.HomePageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;

@Service
public class HomePageServiceImpl implements HomePageService {

    @Autowired
    private HomePageMapper homePageMapper;


    @Override
    public HomePageBaseDataVo queryBaseDate(LocalDate beginDate, LocalDate endDate) {
        HomePageBaseDataVo homePageBaseDataVo=homePageMapper.queryBaseDate(beginDate,endDate);
        return homePageBaseDataVo;
    }
}
